package com.example.eurekaserver2.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

@Mapper
public interface ClassMapper {

    @Update("UPDATE `demo`.`class` SET `name` = '张三', `remark` = '爱学习', `count` = #{count} WHERE `id` = 1;")
    int update(@Param("count") Integer count);

}
